package org.jeemp.db.service;

import org.jeemp.db.entity.Student;
import org.jeemp.db.mapper.ds1.StudentMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author JackRen
 * @date 2021/3/3
 *
 **/
@Service
public class StudentService {
    @Autowired
    StudentMapper studentMapper;

    public List<Student> getAllStudents() {
        return studentMapper.selectAllStudents();
    }
}
